Inbound Twilio Call wird als „No Assistant Assigne...
# support
s
Hey everyone, I have connected a Twilio number in Vapi and am receiving incoming calls, but the call log still shows the inbound call with Assistant = “No Assistant Assigned” even though the assistant is set in the phone number settings. Info: Org: Twilio number: +41 43 505 10 54 Assistant name: Demo Inbound settings in the dashboard: Inbound phone number = +41435051054, Assistant = Demo Twilio: “A call comes in” → Webhook https://api.vapi.ai/twilio/inbound_call (HTTP status 201 in the Twilio call log) In Vapi calls, I see my call as Type = Inbound, but the ASSISTANT column says “No Assistant Assigned.” When I test the same assistant directly via “Web Call” in the dashboard, everything works (call log then correctly shows Assistant = Demo). Can you please check whether there are multiple PhoneNumber objects for my Twilio number, or why the inbound handler does not link the number to the assistant even though it is set in the inbound settings? Relevant call IDs from your log: 019a87ae-ea68-7773-aa33-fc1adeafe44b Thank you & best regards, Silvio https://cdn.discordapp.com/attachments/1442893938225713234/1442893938565578772/4a986c99-908c-44d4-97f8-51673d6c4493.png?ex=694dfb72&is=694ca9f2&hm=b039c2fa711418b76bbc8f8f4bb8b7e79ce2540cc3c19ad04f27b99db8ebb6af&
v
Suggestion: Please ensure your Twilio number is correctly linked to your assistant in the Vapi Dashboard. In the phone number settings, the
assistantId
must be set for inbound calls to use your assistant. Example:
Copy code
text
Vapi Dashboard → Phone Numbers → Select your Twilio number → Assign Assistant (Demo)
If the assistant is already assigned and the issue persists, try removing and re-adding the assistant to the number, then test again. For more details, see the [Vapi phone calling documentation](https://docs.vapi.ai/phone-calling). Source: - [Vapi Phone Calling Documentation](https://docs.vapi.ai/phone-calling)
c
Hi Silvio, It seems like the issue may be related to how the assistant and phone number settings are configured for inbound calls. Make sure that the assistant's configuration, including the
Assistant ID
, is correctly linked to the Twilio phone number you have set up. Verify that there are no additional
PhoneNumber
objects with conflicting settings. For complete inbound call configuration, refer to the [guide on configuring inbound calls for Squads](https://docs.vapi.ai/squads-example). This will help ensure that the assistant ID is accurately set in the phone number settings for the correct call handling. Let me know if there are specific error codes or call ended reasons appearing in the call logs that indicate any further issues. You can also review the [call ended reason codes](https://docs.vapi.ai/calls/call-ended-reason) for detailed explanations of any issues noted in the logs. Hope this helps resolve the configuration problem.
s
Hi I wanted to share an additional detail that might help you debug the Twilio inbound issue with my Swiss number. In the Calls view, when I compare the working US Vapi number with my Swiss Twilio number, I see the following: * For the **working US number**: * ASSISTANT / SQUAD:
Demo
* ASSISTANT PHONE NUMBER:
+1 (763) 275 8544
(correct E.164 phone number) * CUSTOMER PHONE NUMBER:
+41 (79) 725 41 03
* ENDED REASON:
Customer Ended Call
→ This works as expected. * For the **Swiss Twilio number**: * ASSISTANT / SQUAD:
-
(No Assistant Assigned) * ASSISTANT PHONE NUMBER:
fb229801…
(this looks like an internal ID, not a valid phone number) * CUSTOMER PHONE NUMBER:
+41 (79) 725 41 03
* ENDED REASON:
Call.in progress.twilio completed call
This suggests that your inbound handler is resolving the call to a PhoneNumber resource with ID
fb229801…
(or similar), which does not have an assistant attached and apparently doesn’t have a proper
number
field set (hence the ID showing up instead of a phone number). However, in my Phone Numbers dashboard, my Swiss number
+41 43 505 10 54
is: * present only once, * configured with
provider = twilio
, * and has the assistant
Demo
selected in the Inbound Settings. Could you please: 1. Check which PhoneNumber resource (by
id
) your
/twilio/inbound_call
handler is actually using for calls to
+41 43 505 10 54
, and 2. Verify whether that resource has
assistantId
and
number
correctly set? If you like, I can provide: * Org ID * PhoneNumber ID ea5a876a-4f67-4b3a-93b8-f13e5cc39541 for the Swiss number (from
/v2/phone-number
) * Call ID 019a87ae-ea68-7773-aa33-fc1adeafe44b for the inbound call that shows this Right now, the same assistant works perfectly with the US Vapi number, but inbound calls from my Swiss Twilio number still show as “No Assistant Assigned”. Thanks a lot for taking a deeper look, Silvio https://cdn.discordapp.com/attachments/1442893938225713234/1444075830438264914/b25ceb2e-008c-4862-a74a-c86ca51ff0c4.png?ex=692b63eb&is=692a126b&hm=c780f6b8a9aceea0155227d8245a33499a6a53c48333044cb637c9487fb9d666&
c
Thanks for flagging this issue. It looks like Twilio connections are timing out, and our team is actively investigating the cause. We’ll update you as soon as we have more details.